/*
	自定义中间件
*/

var setHeader = function(){
	return function(req, res, next){
		res.statusCode = 200;
		res.header = {'Content-Type': 'text/html'};
		res.head = '<head><meta charset="utf-8"/></head>';
		next();
	};
};

exports.setHeader = setHeader;